#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void moveZeroes(int* nums, int numsSize) {
    int cur = 0, dest = -1;
    for (cur = 0, dest = -1; cur < numsSize; cur++)
    {
        if (nums[cur])
        {
            int tmp = 0;
            tmp = nums[++dest];
            nums[dest] = nums[cur];
            nums[cur] = tmp;
        }
    }
}

int main()
{

	return 0;
}